﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja uzytkownika kasyna
    /// </summary>
    public partial class CasinoUser
    {
        public CasinoUser()
        {
        }
        /// <summary>
        /// Konstruktor parametrowy encji uzytkownika
        /// </summary>
        /// <param name="avatar">Awatar</param>
        /// <param name="birth_date">Data urodzenia</param>
        /// <param name="country">Panstwo</param>
        /// <param name="creation_date">Data utworzenia konta</param>
        /// <param name="email">E-mail</param>
        /// <param name="is_active">Czy aktywne konto?</param>
        /// <param name="last_logon_date">Data ostatniego logowania</param>
        /// <param name="last_logout_date">Data ostatniego wylogowania</param>
        /// <param name="last_update_date">Data ostatniej aktualizacji danych</param>
        /// <param name="login">Login</param>
        /// <param name="nick">Nick</param>
        /// <param name="user_id">ID uzytkownika</param>
        /// <param name="user_name">Imie</param>
        /// <param name="user_surname">Nazwisko</param>
        public CasinoUser(System.Byte[] avatar, System.DateTime birth_date, System.String country, System.DateTime creation_date, System.String email, System.Boolean? is_active, Nullable<System.DateTime> last_logon_date, Nullable<System.DateTime> last_logout_date, System.DateTime last_update_date, System.String login, System.String nick, System.Int32 user_id, System.String user_name, System.String user_surname,System.String pass)
        {
            this.avatarField = avatar;
            this.birth_dateField = birth_date;
            this.countryField = country;
            this.creation_dateField = creation_date;
            this.emailField = email;
            this.is_activeField = is_active;
            this.last_logon_dateField = last_logon_date;
            this.last_logout_dateField = last_logout_date;
            this.last_update_dateField = last_update_date;
            this.loginField = login;
            this.nickField = nick;
            this.user_idField = user_id;
            this.user_nameField = user_name;
            this.user_surnameField = user_surname;
            this.user_passField = pass;
        }

        private System.String user_passField;
        /// <summary>
        /// Hasło
        /// </summary>
        public System.String user_pass
        {
            get { return this.user_passField; }
            set { this.user_passField = value; }
        }

        private System.Byte[] avatarField;
        /// <summary>
        /// Awatar
        /// </summary>
        public System.Byte[] avatar
        {
            get { return this.avatarField; }
            set { this.avatarField = value; }
        }
        
        private System.DateTime? birth_dateField;
        /// <summary>
        /// Data urodzenia
        /// </summary>
        public System.DateTime? birth_date
        {
            get { return this.birth_dateField; }
            set { this.birth_dateField = value; }
        }
        
        private System.String countryField;
        /// <summary>
        /// Panstwo
        /// </summary>
        public System.String country
        {
            get { return this.countryField; }
            set { this.countryField = value; }
        }
        
        private System.DateTime? creation_dateField;
        /// <summary>
        /// Data utworzenia konta
        /// </summary>
        public System.DateTime? creation_date
        {
            get { return this.creation_dateField; }
            set { this.creation_dateField = value; }
        }
        
        private System.String emailField;
        /// <summary>
        /// E-mail
        /// </summary>
        public System.String email
        {
            get { return this.emailField; }
            set { this.emailField = value; }
        }
        
        private System.Boolean? is_activeField;
        /// <summary>
        /// Czy konto aktywne?
        /// </summary>
        public System.Boolean? is_active
        {
            get { return this.is_activeField; }
            set { this.is_activeField = value; }
        }
        
        private Nullable<System.DateTime> last_logon_dateField;
        /// <summary>
        /// Data ostatniego logowania
        /// </summary>
        public Nullable<System.DateTime> last_logon_date
        {
            get { return this.last_logon_dateField; }
            set { this.last_logon_dateField = value; }
        }
        
        private Nullable<System.DateTime> last_logout_dateField;
        /// <summary>
        /// Data ostatniego wylogowania
        /// </summary>
        public Nullable<System.DateTime> last_logout_date
        {
            get { return this.last_logout_dateField; }
            set { this.last_logout_dateField = value; }
        }
        
        private System.DateTime? last_update_dateField;
        /// <summary>
        /// Data ostatniej modyfikacji danych
        /// </summary>
        public System.DateTime? last_update_date
        {
            get { return this.last_update_dateField; }
            set { this.last_update_dateField = value; }
        }
        
        private System.String loginField;
        /// <summary>
        /// Login
        /// </summary>
        public System.String login
        {
            get { return this.loginField; }
            set { this.loginField = value; }
        }
        
        private System.String nickField;
        /// <summary>
        /// Nick
        /// </summary>
        public System.String nick
        {
            get { return this.nickField; }
            set { this.nickField = value; }
        }
        
        private System.Int32 user_idField;
        /// <summary>
        /// ID uzytkownika
        /// </summary>
        public System.Int32 user_id
        {
            get { return this.user_idField; }
            set { this.user_idField = value; }
        }
        
        private System.String user_nameField;
        /// <summary>
        /// Imie
        /// </summary>
        public System.String user_name
        {
            get { return this.user_nameField; }
            set { this.user_nameField = value; }
        }
        
        private System.String user_surnameField;
        /// <summary>
        /// Nazwisko
        /// </summary>
        public System.String user_surname
        {
            get { return this.user_surnameField; }
            set { this.user_surnameField = value; }
        }

    }
}

